const pageData = {
  data: {
    exp: 0,
    rank: wx.getStorageSync('rank')
  },
  onLoad: function () {
    this.setData({ 'rank': wx.getStorageSync('rank') });
  },
  //再来一局
  goToWordlist: function () {
    wx.redirectTo({
      url: '../game/game'
    });
  },
  //返回
  goToSelect: function () {
    wx.redirectTo({
      url: '../select/select'
    });
  },
}

Page(pageData);